using System;
using UnityEngine;

[Serializable]
public class partstats : MonoBehaviour
{
	public int attack;

	public int defence;

	public int endurance;

	public int wattack;

	public int wdefence;

	public int wendurance;

	public int battack;

	public int bdefence;

	public int bendurance;

	public GameObject attackonestar;

	public GameObject attacktwostar;

	public GameObject attackthreestar;

	public GameObject attackfourstar;

	public GameObject defenceonestar;

	public GameObject defencetwostar;

	public GameObject defencethreestar;

	public GameObject defencefourstar;

	public GameObject enduranceonestar;

	public GameObject endurancetwostar;

	public GameObject endurancethreestar;

	public GameObject endurancefourstar;

	public GameObject wattackonestar;

	public GameObject wattacktwostar;

	public GameObject wattackthreestar;

	public GameObject wattackfourstar;

	public GameObject wdefenceonestar;

	public GameObject wdefencetwostar;

	public GameObject wdefencethreestar;

	public GameObject wdefencefourstar;

	public GameObject wenduranceonestar;

	public GameObject wendurancetwostar;

	public GameObject wendurancethreestar;

	public GameObject wendurancefourstar;

	public GameObject battackonestar;

	public GameObject battacktwostar;

	public GameObject battackthreestar;

	public GameObject battackfourstar;

	public GameObject bdefenceonestar;

	public GameObject bdefencetwostar;

	public GameObject bdefencethreestar;

	public GameObject bdefencefourstar;

	public GameObject benduranceonestar;

	public GameObject bendurancetwostar;

	public GameObject bendurancethreestar;

	public GameObject bendurancefourstar;

	public partstats()
	{
		attack = 1;
		defence = 1;
		endurance = 1;
		wattack = 1;
		wdefence = 1;
		wendurance = 1;
		battack = 1;
		bdefence = 1;
		bendurance = 1;
	}

	public void Update()
	{
		if (attack == 1)
		{
			attackonestar.active = true;
			attacktwostar.active = false;
			attackthreestar.active = false;
			attackfourstar.active = false;
		}
		if (attack == 2)
		{
			attacktwostar.active = true;
			attackonestar.active = false;
			attackthreestar.active = false;
			attackfourstar.active = false;
		}
		if (attack == 3)
		{
			attackthreestar.active = true;
			attacktwostar.active = false;
			attackonestar.active = false;
			attackfourstar.active = false;
		}
		if (attack == 4)
		{
			attackfourstar.active = true;
			attackonestar.active = false;
			attacktwostar.active = false;
			attackthreestar.active = false;
		}
		if (defence == 1)
		{
			defenceonestar.active = true;
			defencetwostar.active = false;
			defencethreestar.active = false;
			defencefourstar.active = false;
		}
		if (defence == 2)
		{
			defenceonestar.active = false;
			defencetwostar.active = true;
			defencethreestar.active = false;
			defencefourstar.active = false;
		}
		if (defence == 3)
		{
			defenceonestar.active = false;
			defencetwostar.active = false;
			defencethreestar.active = true;
			defencefourstar.active = false;
		}
		if (defence == 4)
		{
			defenceonestar.active = false;
			defencetwostar.active = false;
			defencethreestar.active = false;
			defencefourstar.active = true;
		}
		if (endurance == 1)
		{
			enduranceonestar.active = true;
			endurancetwostar.active = false;
			endurancethreestar.active = false;
			endurancefourstar.active = false;
		}
		if (endurance == 2)
		{
			enduranceonestar.active = false;
			endurancetwostar.active = true;
			endurancethreestar.active = false;
			endurancefourstar.active = false;
		}
		if (endurance == 3)
		{
			enduranceonestar.active = false;
			endurancetwostar.active = false;
			endurancethreestar.active = true;
			endurancefourstar.active = false;
		}
		if (endurance == 4)
		{
			enduranceonestar.active = false;
			endurancetwostar.active = false;
			endurancethreestar.active = false;
			endurancefourstar.active = true;
		}
		if (wattack == 1)
		{
			wattackonestar.active = true;
			wattacktwostar.active = false;
			wattackthreestar.active = false;
			wattackfourstar.active = false;
		}
		if (wattack == 2)
		{
			wattacktwostar.active = true;
			wattackonestar.active = false;
			wattackthreestar.active = false;
			wattackfourstar.active = false;
		}
		if (wattack == 3)
		{
			wattackthreestar.active = true;
			wattacktwostar.active = false;
			wattackonestar.active = false;
			wattackfourstar.active = false;
		}
		if (wattack == 4)
		{
			wattackfourstar.active = true;
			wattackonestar.active = false;
			wattacktwostar.active = false;
			wattackthreestar.active = false;
		}
		if (wdefence == 1)
		{
			wdefenceonestar.active = true;
			wdefencetwostar.active = false;
			wdefencethreestar.active = false;
			wdefencefourstar.active = false;
		}
		if (wdefence == 2)
		{
			wdefenceonestar.active = false;
			wdefencetwostar.active = true;
			wdefencethreestar.active = false;
			wdefencefourstar.active = false;
		}
		if (wdefence == 3)
		{
			wdefenceonestar.active = false;
			wdefencetwostar.active = false;
			wdefencethreestar.active = true;
			wdefencefourstar.active = false;
		}
		if (wdefence == 4)
		{
			wdefenceonestar.active = false;
			wdefencetwostar.active = false;
			wdefencethreestar.active = false;
			wdefencefourstar.active = true;
		}
		if (wendurance == 1)
		{
			wenduranceonestar.active = true;
			wendurancetwostar.active = false;
			wendurancethreestar.active = false;
			wendurancefourstar.active = false;
		}
		if (wendurance == 2)
		{
			wenduranceonestar.active = false;
			wendurancetwostar.active = true;
			wendurancethreestar.active = false;
			wendurancefourstar.active = false;
		}
		if (wendurance == 3)
		{
			wenduranceonestar.active = false;
			wendurancetwostar.active = false;
			wendurancethreestar.active = true;
			wendurancefourstar.active = false;
		}
		if (wendurance == 4)
		{
			wenduranceonestar.active = false;
			wendurancetwostar.active = false;
			wendurancethreestar.active = false;
			wendurancefourstar.active = true;
		}
		if (battack == 1)
		{
			battackonestar.active = true;
			battacktwostar.active = false;
			battackthreestar.active = false;
			battackfourstar.active = false;
		}
		if (battack == 2)
		{
			battacktwostar.active = true;
			battackonestar.active = false;
			battackthreestar.active = false;
			battackfourstar.active = false;
		}
		if (battack == 3)
		{
			battackthreestar.active = true;
			battacktwostar.active = false;
			battackonestar.active = false;
			battackfourstar.active = false;
		}
		if (battack == 4)
		{
			battackfourstar.active = true;
			battackonestar.active = false;
			battacktwostar.active = false;
			battackthreestar.active = false;
		}
		if (bdefence == 1)
		{
			bdefenceonestar.active = true;
			bdefencetwostar.active = false;
			bdefencethreestar.active = false;
			bdefencefourstar.active = false;
		}
		if (bdefence == 2)
		{
			bdefenceonestar.active = false;
			bdefencetwostar.active = true;
			bdefencethreestar.active = false;
			bdefencefourstar.active = false;
		}
		if (bdefence == 3)
		{
			bdefenceonestar.active = false;
			bdefencetwostar.active = false;
			bdefencethreestar.active = true;
			bdefencefourstar.active = false;
		}
		if (bdefence == 4)
		{
			bdefenceonestar.active = false;
			bdefencetwostar.active = false;
			bdefencethreestar.active = false;
			bdefencefourstar.active = true;
		}
		if (bendurance == 1)
		{
			benduranceonestar.active = true;
			bendurancetwostar.active = false;
			bendurancethreestar.active = false;
			bendurancefourstar.active = false;
		}
		if (bendurance == 2)
		{
			benduranceonestar.active = false;
			bendurancetwostar.active = true;
			bendurancethreestar.active = false;
			bendurancefourstar.active = false;
		}
		if (bendurance == 3)
		{
			benduranceonestar.active = false;
			bendurancetwostar.active = false;
			bendurancethreestar.active = true;
			bendurancefourstar.active = false;
		}
		if (bendurance == 4)
		{
			benduranceonestar.active = false;
			bendurancetwostar.active = false;
			bendurancethreestar.active = false;
			bendurancefourstar.active = true;
		}
	}

	public void Main()
	{
	}
}
